package com.yurun.loginmodule.mapper;

import java.math.BigInteger;
import java.util.List;

import com.yurun.commonapi.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface AdminMapper {

    int insert(UmsAdmin record);

    List<UmsAdmin> selectByExample(UmsAdminExample example);

    Employee selectByName(BigInteger employeeId);

    String getPassword(BigInteger employeeId);

    List<String> getPPwd(BigInteger studentPhone);

    Employee getOrgIdAndBranchId(BigInteger employeeId);

    StudentDocument getStudentOrgIdAndBranchId(BigInteger studentPhone);

    int resetPwd(Employee employee);

    int editEmployeeInfo(Employee employee);

    String getFatherPwd(BigInteger studentPhone);

    List<ParentStudentRelation> getParentPwd(BigInteger studentPhone);
}
